layui.use('table', function () {
    var table = layui.table;
    table.render({
        elem: '#demo',
        url: '/info/persionScheduleInfo/list',
        page: true,
        cols: [[
            {type: 'numbers',title: '序号'},
            {field: 'classnos',title: '班级'},
            {field: 'cname',title: '课程名称'},
            {field: 'weeks', title: '周次',width:60},
            {field: 'week', title: '星期',width:60},
            {field: 'jieci', title: '节次',width:60},
            {field: 'location', title: '地点'},
        ]],
        height: 'full-20'
    });
});